package org.example;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import cn.hutool.log.Log;
import cn.hutool.log.LogFactory;

/**
 * @Author zhangjg
 * @Date 2021/9/9 10:22
 * @Description
 **/
public class T2 {

    private static final Log log = LogFactory.get();

    private static final Logger logger = LoggerFactory.getLogger(T2.class);

    public static void main(String[] args) {

        int cnt = 0;
        while (cnt < 10) {
            cnt++;
            log.info(" hutool cnt={}", cnt);
            logger.info(" slf4j cnt={}", cnt);
        }
    }
}
